\documentclass[dvipdfm]{beamer}  %dvipdfm选项是关键,否则编译统统通不过
\usepackage{fontspec,xunicode,xltxtra,beamerthemesplit}
\usepackage[slantfont,boldfont,CJKnumber,CJKtextspaces]{xeCJK} % 允许斜体和粗体
%\usetheme{Luebeck}
\usetheme{Warsaw}
\beamertemplateballitem

\setCJKmainfont[BoldFont=Hei,ItalicFont=Kai]{SimSun}   % 设置缺省中文字体
\setCJKmonofont{SimSun}   % 设置等宽字体
\setCJKsanfont{YouYuan}
%\setCJKfamilyfont{LiSu}{SimSun}
\setmainfont{Times New Roman} % 英文衬线字体
\setmonofont{Times New Roman} % 英文等宽字体
\setsansfont{Times New Roman} % 英文无衬线字体

\newfontfamily{\A}{Kai}
\newfontfamily{\B}{LiSu}

\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt %這兩行一定要加，中文才能自動換行

\begin{document}

\title[beam]{国际金融}
\author{邢文聚}
%page break
\frame{\titlepage}
\section*{Outline}

\section{here are some notes}
%%%%%%%%%%%%%%%%%%%%
%page break
%%%%%%%%%%%%%%%%%%%%
\frame{\frametitle{基础理论}
\setlength {\fboxsep}{4pt} 
\fbox{经济学的几种数量方法}
%\CJKfamily{LiSu}这是隶书

\textbf{粗体的用黑体代替}

試用{\A XeTex} 不同的 {\A UTF-8}{\B 字型}

%\textit{斜体的用楷体代替}

\begin{itemize}
\item 购买力评价理论       $s=\frac {P^{*}}{P}$
\item 利率平价理论           $\frac{F-S}{S}=i-i^{*}$
\item 货币理论的利率观点 
\end{itemize}
}
%%%%%%%%%%%%%%%%%%%%
%page break
%%%%%%%%%%%%%%%%%%%%
\frame{\frametitle{数学基础}
\setlength {\fboxsep}{4pt} 
\fbox{comparative statics}
\[
MF=\frac {\Delta Y} {\Delta X}
\]
\fbox{derivative of function $y=f(x)$}
\[
\frac {dy}{dx}= f'(x)=\lim_{\Delta x \rightarrow 0} {\frac {\Delta y}{\Delta x}}
\]
\fbox{partial derivative}
\[
Y=f(x_1,x_2)\Rightarrow \{f_1=\frac{dy}{dx_1} \;and\; f_2=\frac{dy}{dx_2}
\]

}
\frame{\frametitle{rules of derivation}
\[
f(x)=k\Rightarrow \frac {dy}{dx}=0
\]
\[
f(x)=x^n\Rightarrow \frac {dy}{dx}=cn\cdot x^{n-1}
\]
\[
z(x)={[f(x)+g(x)]}^{'}= {dy}^{'}\cdot {dx}^{'}=0
\]
\[
z(x)={[f(x)\cdot g(x)]}^{'}= f(x)\cdot g^{'}(x)+f^{'}(x)g(x)
\]
\[
z(x)={[\frac {f(x)}{g(x)}]}^{'}= \frac {f^{'}(x)g(x)- f(x)g^{'}(x)} {{[g(x)]}^{2}}
\]
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frame{\frametitle{chain rules of derivative}
\begin{block}{How it works?}
Chain reaction = direct effects + indirect effects
\end{block}
\[
y=g(x) \Rightarrow f^{'}(y)=f^{'}[g(x)]=f^{'}(x)\cdot g^{'}(x)
\]
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frame{\frametitle{微分是导数的变体!}
\begin{block}{微分}
导数和微分的关系是怎样的?
\end{block}
\[
\frac{dy}{dx}=f^{'}(x) \Rightarrow dy=f^{'}(x)\cdot dx
\]
\begin{block}{全微分}
全导数=偏微分之和！！！
\end{block}
\[
dU=\sum_{i=0}^{n} U_i\cdot dx_i ( U_i = \frac {\xi U} {\xi x_i})
\]
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frame{\frametitle{部分全导数}
\begin{block}{部分全导数}
部分全导数=（部分导数）$\times$ (部分导数因子)?
\end{block}
\[
y=f[g(w),w]\Rightarrow dy=fx\cdot dx + fw \cdot dw
\]
\[
\frac {dy}{dx}=\frac{\xi y}{\xi x} \cdot \frac{dx}{dw} + \frac {\xi y}{\xi w}
\]
我们可以看出，不仅x $\Rightarrow$ y 而且 w $\Rightarrow$ y，x和w对y都有影响，
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frame{\frametitle{部分全导数II}
\begin{block}{部分全导数II}
部分全导数=（部分导数）$\times$ (部分导数因子)?
\end{block}
\[
\begin{cases}
y=f(x_1,x_2,w)\\
x_1=g(w)\\
x_2=h(w)
\end{cases}
\Rightarrow
\frac {dy}{dw}=f^{'}(x_1)\cdot \frac{dx_1}{dw} + f^{'}(x_2)\cdot \frac{dx_2}{dw} +f^{'}(w)
\]
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frame{\frametitle{部分全导数III}
\begin{block}{部分全导数III}
部分全导数=（部分导数）$\times$ (部分导数因子)?
\end{block}
\[
\begin{cases}
y=f(x_1,x_2,u,v)\\
x_1=g(u)\\
x_2=h(v)
\end{cases}
\Rightarrow
\]
\[
\frac {dy}{du}=f^{'}(x_1)\cdot \frac{dx_1}{du} + f^{'}(x_2)\cdot \frac{dx_2}{du} +f^{'}(u)\cdot \frac{du}{du} + f^{'}(v)\cdot \frac{dv}{du}
\]
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frame{\frametitle{如何求解逆矩阵？}
\begin{block}{逆矩阵的运算}
\[|A| \Rightarrow |C_{ij}| \Rightarrow C_{'}=adj A \Rightarrow \frac{C'}{|A|}\]
\end{block}
\begin{itemize}
\item $|A|$ 
\item $|C_{ij}|$
\item $C' (adj A)$
\item $\frac {C'}{|A|}$
\end{itemize}
}
\end{document}